{layout name="layout" /}
<style>
.vdong_msg{position: absolute;top:35%;left:100%;background: #ffb300;padding: 10px;border-radius: 5px;color: #fff}
</style>
<script type="text/javascript" src="__VDONG__/js/chooseproject.js"></script>
{empty name="project"}
    <div class="myWrap"> 
      <p class="g-title">我的项目<span class=""></span></p> 
       <div class="function-identity">
        <p>请点击创建项目后输入您的内容后将会在这里显示内容</p> 
        <div class="w244">
        <img class="myImg" src="__VDONG__/img/add_1.png" width="100%" height="100%"  /> 
        </div>
        <a href="{:url('user/createproject')}" class="createproject">创建项目</a>
      </div> 
    </div>
{else /}
<div class="myWrap"> 
      <p class="g-title">我的项目<span class=""></span></p> 
       <div class="function-identity">
        <p>{$project.name}</p> 
        <div class="w244">
        <a href="https://popular.vdongchina.com/web/index.php?c=api&a=login&uniacid={$project.uniacid}&token={$token}&uid={$uid}&salt={$salt}"><img class="myImg" src="{$project.pic}" width="100%" height="100%" /></a>
        </div>
        <a href="{:url('user/editproject','id='.$project["id"])}" class="createproject">管理项目</a>
      </div> 
      <div class="vdong_msg">点击图片进入模板选择</div>
    </div>
{/empty}
